package awd.bj.jls.webs.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import awd.bj.jls.webs.api.hystrix.LogsApiFallBackFactory;
import awd.bj.jls.webs.utils.ResponseMessage;
import awd.bj.logs.model.OperatelogsModel;


@FeignClient(name = "${awd.api.logs:AWD-MIS-LOGS-SERVER}",  fallbackFactory = LogsApiFallBackFactory.class)
public interface LogsApi {

    @RequestMapping(value = "/operatelogs", method = RequestMethod.POST)
	ResponseMessage<String> operatelogsSave(@RequestBody OperatelogsModel operatelogs);

	
}
